#!/bin/bash


if [ ! -f /tmp/wifi_started ]; then
    echo "[INFO] First start detected, sleeping..."
    sleep 25
    touch /tmp/wifi_started
else
    echo "[INFO] Restart detected, no delay."
fi


exec /usr/bin/python3 /home/pi/wifi_manager/wifi.py
